package com.bdzl.pub.entity.loan;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 经销商信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
@Data
public class AgentDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//ID，主键，自增
	private Integer agentId;
	//经销商名称
	private String agentName;
	//经销商级别
	private String agentRank;
	//营业执照信息，即企业信息，外键

	private Integer agentEntId;
	//经销商备注
	private String agentRemark;
	//经销商状态
/*0：正常；
1：禁用*/
	private Integer agentStatus;
	//创建人用户 ID,外键
	private Integer agentCreator;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date agentCretime;
	//最近修改人用户 ID，外键
	private Integer agentModuser;
	//最近修改时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date agentModtime;
}
